﻿namespace FKMC.Core.Configuration
{
    using FluentNHibernate.Mapping;

    public class EntityMap<T> : ClassMap<T> where T : Entity
    {
        protected const int MAX_LENGTH = 10000;

        public EntityMap()
        {
            Id(p => p.Id);
            Map(p => p.CreatedDate);
            Map(p => p.ModifiedDate);
        }
    }
}
